import { SystemUserInfoData } from "./system-user-info.ts";

export interface BuildingData {
  total: number;
  rows: BuildingDataRow[];
}

export interface BuildingDataRow {
  roomCount: number;
  floorCount: number;
  name: string;
  id: number;
  buildingPhone: string;
  buildingAdmin: string;
  key?: string;
  managers: SystemUserInfoData[];
}

export interface SearchBuildingParams {
  pageNum?: number;
  pageSize?: number;
  buildingId?: string;
  key?: string;
}
